<?php

class sfPhpDb extends sfDatabase
{
    public function connect()
    {
        $dsn = $this->getParameter('dsn');
        $user = $this->getParameter('username');
        $pass = $this->getParameter('password');
        $this->connection = new PhpDb($dsn,$user,$pass);
    }
    public function shutdown()
    {
        $this->connection = NULL;
    }
}

?>
